package day10;

// 某个类实现了某个接口
// 该类称为接口的实现类
public class UserServiceImpl implements UserService {

	@Override
	public void register(String name, int age) {
		System.out.println("UserServiceImpl.register(String, int)");
	}

	@Override
	public User login(String name, int age) {
		System.out.println("UserServiceImpl.login(String, int)");
		return new User();
	}

}
